package xjtu.sad.zbsj.common.model.time;

import com.fasterxml.jackson.annotation.JsonFormat;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Corona
 */

public class Time {
    private String t_id;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date t_happen;

    public String getT_id() {
        return t_id;
    }

    public void setT_id(String t_id) {
        this.t_id = t_id;
    }

    public Date getT_happen() {
        return t_happen;
    }

    public void setT_happen(Date t_happen) {
        this.t_happen = t_happen;
    }
}
